function [ Wvecarray ] = weightCellToArray( Wvec )
    Wvecarray=[];
    for i=1:cols(Wvec)
        vec = reshape(Wvec{i},1,[]);
        Wvecarray = [Wvecarray vec];
    end
end

